<template>
	<view>
		<view class="cu-timeline margin-top padding">
			<view class="cu-time">核销单号</view>
			<view class="cu-content">{{woNum}}</view>
		</view>
		<view class="cu-timeline margin-top padding">
			<view class="cu-time">手机尾号</view>
			<view  class="cu-content">{{linkNum}}</view>
		</view>
	</view>
</template>

<script>
	import {getStoreOrderWriteOff} from '@/api/order/orderApi.js'
	export default {
		data() {
			return {
				orderId:'',
				shopId:'',
				woNum:'',
				linkNum:''
			}
		},
		onLoad(options) {
			this.orderId = options.orderId;
			this.shopId = options.shopId;
			this._loadWriteOff();
		},
		methods: {
			_loadWriteOff:function(){
				let _that =this;
				getStoreOrderWriteOff({
					page:1,
					row:100,
					orderId:this.orderId,
					shopId:this.shopId
				}).then((_data)=>{
					_that.woNum = _data[0].woNum;
					_that.linkNum = _data[0].linkNum;
					
				})
			}
		}
	}
</script>

<style lang="scss">
	.cu-content{
		font-size: 64upx;
		text-align: center;
	}
</style>
